home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / dev / lang / sofa.lha / sofa / smalleiffel / contrib / htmldoc / hooks.sh next >
Linux/UNIX/POSIX Shell Script  |  2000-03-25  |  23KB  |  704 lines

  1. #! /bin/sh
  2.  
  3. # test if echo command interprets -n option
  4. xxx=`echo -n`
  5.  
  6. if [ -z "$xxx" ]
  7.   then
  8.     eopt=-n
  9.     eend=
  10.   else
  11.     eopt=
  12.     eend="""\c"""
  13. fi
  14.  
  15. # ---------------------------------------------------------------------------
  16. # "hook000" - If this hook file exists, the contents of this file is
  17. # printed very first.
  18. cat >hook000 <<END
  19. <!-- Generated by SmallEiffel short html style hooks -->
  20. <html>
  21. <head>
  22. <title>Eiffel class THISCLASS</title>
  23. </head>
  24. <body>
  25. <pre>
  26. END
  27.  
  28. # "hook010" - If this hook file exists, and if the processed class is
  29. # an expanded one, the contents of this file is printed before the
  30. # class name to replace the default string "expanded class interface
  31. # ".
  32. echo $eopt '<strong>expanded class interface</strong> '$eend > hook010
  33.  
  34. # "hook011" - If this hook file exists, and if the processed class is
  35. # an deferred one, the contents of this file is printed before the
  36. # class name to replace the default string "deferred class interface
  37. # ".
  38. echo $eopt '<strong>deferred class interface</strong> '$eend > hook011
  39.  
  40. # "hook012" - If this hook file exists, and if the processed class is
  41. # an ordinary one (not deferred nor expanded) the contents of this
  42. # file is printed before the class name to replace the default string
  43. # "class interface ".
  44. echo $eopt '<strong>class interface</strong> '$eend > hook012
  45.  
  46. # "hook013" _ If this hook file exists, the contents of this file is
  47. # printed before the class name whatever the kind of class (expanded,
  48. # deferred or ordinary) to replace the default empty string "".
  49. rm -f hook013
  50.  
  51. # "hook014" - If this hook exists, the contents of the file is printed
  52. # after the class name to replace the default string "%N".
  53. rm -f hook014
  54.  
  55. # "hook015" - If this hook file exists, and if a class header comment
  56. # is present, this file is printed once before the heading class
  57. # comment.
  58. echo $eopt '<em>'$eend > hook015
  59.  
  60. # "hook016" - If this hook file exists, and if an heading comment is
  61. # present, the contents of this file is printed to replace the default
  62. # string " -- " at the beginning of each comment line.
  63. rm -f hook016
  64.  
  65. # "hook017" - If this hook file exists, and if an heading comment is
  66. # present, the contents of this file is printed to replace the default
  67. # string "%N" at the end of each comment line.
  68. rm -f hook017
  69.  
  70. # "hook018" - If this hook file exists, and if a class heading comment
  71. # is present, the contents of this file is printed once after the
  72. # heading comment.
  73. echo $eopt '</em>
  74. '$eend > hook018
  75.  
  76. # "hook019" - If this hook file exists, and if the processed class has
  77. # no heading comment, this file is printed once.
  78. echo $eopt '
  79. '$eend > hook019
  80.  
  81. # ---------------------------------------------------------------------------
  82. # 2.2. Changing output of the creation list
  83.  
  84. # "hook100" - If it exists, this file is printed before the creation
  85. # list to replace the default string "creation%N".
  86. echo $eopt '<strong>creation</strong>
  87. '$eend > hook100
  88.  
  89. # "hook101" - If it exists, this file is printed after the creation
  90. # list to replace the default empty string "".
  91. rm -f hook101
  92.  
  93. # "hook102" - If it exists, this file is printed when class has no
  94. # creation list.
  95. rm -f hook102
  96.  
  97. # ---------------------------------------------------------------------------
  98. # 2.3. Changing output of the feature list
  99.  
  100. # "hook200" - If exists, printed before the feature list when option
  101. # -sort is selected to replace the default string "feature(s)%N".
  102. echo $eopt '<strong>feature(s)</strong>
  103. '$eend > hook200
  104.  
  105. # "hook201" - If exists, printed after the feature list when option
  106. # -sort is selected to replace the default empty string "".
  107. echo $eopt '
  108. '$eend > hook201
  109.  
  110. # "hook202" - If exists, printed before each feature list with no
  111. # heading comment to replace the default string "feature(s) from ".
  112. echo $eopt '<strong>feature(s) from </strong>'$eend > hook200
  113.  
  114. # "hook203" - If exists, printed after the class name of "hook202" to
  115. # replace the default string "%N".
  116. echo $eopt '
  117. <em>'$eend > hook203
  118.  
  119. # "hook204" - If exists, printed before a feature list with a heading
  120. # comment to replace the default string "feature(s) from ".
  121. echo $eopt '<strong>feature(s) from </strong>'$eend > hook204
  122.  
  123. # "hook205" - If exists, printed after the class name introduced at
  124. # "hook204" to replace the default string "%N".
  125. echo $eopt '
  126. <em>'$eend > hook205
  127.  
  128. # "hook206" - If exists, printed before each line of the feature list
  129. # comment to replace the default string " -- ".
  130. rm -f hook206
  131.  
  132. # "hook207" - If exists, printed after each line of the feature list
  133. # comment to replace the default string "%N".
  134. rm -f hook207
  135.  
  136. # "hook208" - If exists, printed after a feature list comment to
  137. # replace the default empty string "".
  138. echo $eopt '</em>
  139. '$eend > hook208
  140.  
  141. # ---------------------------------------------------------------------------
  142. # 2.4. Changing output of a feature signature
  143.  
  144. # "hook300" - If this hook exists, the contents of this file is
  145. # printed before each feature to replace the default string " ".
  146. rm -f hook300
  147.  
  148. # "hook301" - If this hook exists, the contents of this file is
  149. # printed once when the feature has no arguments to replace the
  150. # default empty string "".
  151. rm -f hook301
  152.  
  153. # "hook302" - If this hook exists, the contents of this file is
  154. # printed once when the feature has arguments to replace the default
  155. # string " (".
  156. rm -f hook302
  157.  
  158. # "hook303" - If this hook exists, the contents of this file is
  159. # printed when the feature has arguments to replace the default string
  160. # " ;".
  161. rm -f hook303
  162.  
  163. # "hook304" - If this hook exists, the contents of this file is
  164. # printed when the feature has arguments to replace the default string
  165. # ", ".
  166. rm -f hook304
  167.  
  168. # "hook305" - If this hook exists, the contents of this file is
  169. # printed when the feature has arguments to replace the default string
  170. # ": ".
  171. rm -f hook305
  172.  
  173. # "hook306" - If this hook exists, the contents of this file is
  174. # printed once when the feature has arguments to replace the default
  175. # string ")".
  176. rm -f hook306
  177.  
  178. # "hook307" - If this hook exists, the contents of this file is
  179. # printed once when the feature has no result to replace the default
  180. # string "%N".
  181. rm -f hook307
  182.  
  183. # "hook308" - If this hook exists, the contents of this file is
  184. # printed once before the result type of the feature to replace the
  185. # default string ": ".
  186. rm -f hook308
  187.  
  188. # "hook309" - If this hook exists, the contents of this file is
  189. # printed once after the result type of the feature to replace the
  190. # default string "%N".
  191. rm -f hook309
  192.  
  193. # ---------------------------------------------------------------------------
  194. # 2.5. Changing output of a feature comment
  195.  
  196. # "hook310" - If this hook file exists, and if a feature has a heading
  197. # comment, this file is printed once before the comment.
  198. echo $eopt '<em>'$eend > hook310
  199.  
  200. # "hook311" - If this hook file exists, and if a feature has a heading
  201. # comment, the contents of this file is printed to replace the default
  202. # string " -- " at the beginning of each comment line.
  203. rm -f hook311
  204.  
  205. # "hook312" - If this hook file exists, and if a feature has a heading
  206. # comment, the contents of this file is printed to replace the default
  207. # string "%N" at the end of each comment line.
  208. rm -f hook312
  209.  
  210. # "hook313" - If this hook file exists, and if a feature has a heading
  211. # comment, the contents of this file is printed once after this
  212. # comment.
  213. echo $eopt '</em>'$eend > hook313
  214.  
  215. # "hook314" - If this hook file exists, and if a feature has no
  216. # heading comment, the contents of this file is printed.
  217. rm -f hook314
  218.  
  219. # ---------------------------------------------------------------------------
  220. # 2.6. Changing output of require clauses
  221. # 2.6.1. For the header of a require clause
  222.  
  223. # "hook400" - If this hook file exists, and if a feature has no
  224. # require assertion, the contents of this file is printed to replace
  225. # the default empty string "".
  226. rm -f hook400
  227.  
  228. # "hook401" - If this hook file exists, and if a feature has one
  229. # require assertion, the contents of this file is printed before the
  230. # latest inherited assertion to replace the default string "require%N".
  231. echo $eopt '      <strong>require</strong>
  232. '$eend > hook401
  233.  
  234. # "hook402" - If this hook file exists, and if a feature has more than
  235. # one require assertion, the contents of this file is printed before
  236. # the require assertion to replace the default string " require else%N".
  237. echo $eopt '      <strong>require else</strong>
  238. '$eend > hook401
  239.  
  240. # "hook403" - If this hook file exists, and if a feature has at least
  241. # one require assertion, the contents of this file is printed to
  242. # finish the job (once after the last printed require assertion) to
  243. # replace the default empty string "".
  244. rm -f hook403
  245.  
  246. # "hook412" - If exists, printed when a require clause has no heading
  247. # comment to replace the default empty string "".
  248. rm -f hook412
  249.  
  250. # "hook413" - If exists, printed once before the require clause
  251. # heading comment to replace the default empty string "".
  252. echo $eopt '<em>'$eend > hook413
  253.  
  254. # "hook414" - If exists, printed before each line of the heading
  255. # comment to replace the default string " -- ".
  256. rm -f hook414
  257.  
  258. # "hook415" - If exists, printed after each line of the heading
  259. # comment to replace the default string "%N".
  260. rm -f hook415
  261.  
  262. # "hook416" - If exists, printed once after the require clause heading
  263. # comment.
  264. echo $eopt '</em>'$eend > hook416
  265.  
  266. # "hook417" - If exists, printed when a require clause has no
  267. # assertion to replace the default empty string "".
  268. rm -f hook417
  269.  
  270. # "hook418" - If exists, printed once before the first assertion of a
  271. # require clause to replace the default empty string "".
  272. rm -f hook418
  273.  
  274. # "hook433" - If exists, printed once after the last assertion of a
  275. # require clause to replace the default empty string "".
  276. rm -f hook433
  277.  
  278. # "hook434" - If exists, printed to finish a require clause to replace
  279. # the default empty string "".
  280. rm -f hook434
  281.  
  282. # 2.6.2. For each assertion in a require clause
  283.  
  284. # "hook419" - If exists, printed before each assertion of a require
  285. # clause to replace the default string " ".
  286. rm -f hook419
  287.  
  288. # "hook420" - If exists, printed when an assertion has no tag to
  289. # replace the default empty string "".
  290. rm -f hook420
  291.  
  292. # "hook421" - If exists, printed before a tag to replace the default
  293. # empty string "".
  294. rm -f hook421
  295.  
  296. # "hook422" - If exists, printed after a tag to replace the default
  297. # string ": ".
  298. rm -f hook422
  299.  
  300. # "hook423" - If exists, printed when the assertion has no expression
  301. # to replace the default empty string "".
  302. rm -f hook423
  303.  
  304. # "hook424" - If exists, printed before the expression to replace the
  305. # default empty string "".
  306. rm -f hook424
  307.  
  308. # "hook425" - If exists, printed after the expression (except for the
  309. # last assertion) to replace the default string ";".
  310. rm -f hook425
  311.  
  312. # "hook426" - If exists, printed when an assertion has no comment to
  313. # replace the default string "%N".
  314. rm -f hook426
  315.  
  316. # "hook427" - If exists, printed once before the assertion comment to
  317. # replace the default empty string "".
  318. echo $eopt '<em>'$eend > hook427
  319.  
  320. # "hook428" - If exists, printed before each line oqf the expression
  321. # comment to replace the default string " -- ".
  322. rm -f hook428
  323.  
  324. # "hook429" - If exists, printed after each line of the expression
  325. # comment to replace the default string "%N".
  326. rm -f hook429
  327.  
  328. # "hook430" - If exists, printed once after the assertion's comment to
  329. # replace the default string "".
  330. echo $eopt '</em>'$eend > hook430
  331.  
  332. # "hook431" - If exists, printed after the assertion to replace the
  333. # default empty string "".
  334. rm -f hook431
  335.  
  336. # 2.6.3. For the last assertion in a require clause Same hook file
  337. # list as described in section 2.6.2 except "hook425" which becomes :
  338.  
  339. # "hook432" - If exists, printed after the last expresion to replace
  340. # the default empty string "".
  341. rm -f hook432
  342.  
  343. # ---------------------------------------------------------------------------
  344. # 2.7. Changing output of ensure clauses
  345. # 2.7.1. For the header of the ensure clause
  346.  
  347. # "hook500" - If this hook file exists, and a feature has no ensure
  348. # clause, the contents of this file is printed to replace the default
  349. # empty string "".
  350. rm -f hook500
  351.  
  352. # "hook511" - If this hook file exists, the contents of this file is
  353. # printed before each ensure clause to replace the default string "ensure%N".
  354. echo $eopt '      <strong>ensure</strong>
  355. '$eend > hook511
  356.  
  357. # "hook512" - If exists, printed when ensure clause has no heading
  358. # comment to replace default empty string "".
  359. rm -f hook512
  360.  
  361. # "hook513" - If exists, printed once before the ensure clause heading
  362. # comment to replace the default empty string "".
  363. echo $eopt '<em>'$eend > hook513
  364.  
  365. # "hook514" - If exists, printed before each line of the heading
  366. # comment to replace the default string " -- ".
  367. rm -f hook514
  368.  
  369. # "hook515" - If exists, printed after each line of the heading
  370. # comment to replace the default string "%N".
  371. rm -f hook515
  372.  
  373. # "hook516" - If exists, printed once after the ensure clause heading
  374. # comment.
  375. echo $eopt '</em>'$eend > hook516
  376.  
  377. # "hook517" - If exists, printed when an ensure clause has no
  378. # assertion to replace the default empty string "".
  379. rm -f hook517
  380.  
  381. # "hook518" - If exists, printed once before the first assertion of
  382. # the ensure clause to replace the default empty string "".
  383. rm -f hook518
  384.  
  385. # "hook533" - If exists, printed once after the last assertion of the
  386. # ensure clause to replace the default empty string "".
  387. rm -f hook533
  388.  
  389. # "hook534" - If exists, printed to finish the ensure clause to
  390. # replace the default empty string "".
  391. rm -f hook534
  392.  
  393. # 2.7.2. For each assertion in the ensure assertion
  394.  
  395. # "hook519" - If exists, printed before each assertion of the ensure
  396. # clause to replace the default string " ".
  397. rm -f hook519
  398.  
  399. # "hook520" - If exists, printed when an assertion has no tag to
  400. # replace the default empty string "".
  401. rm -f hook520
  402.  
  403. # "hook521" - If exists, printed before a tag to replace the default
  404. # empty string "".
  405. rm -f hook521
  406.  
  407. # "hook522" - If exists, printed after a tag to replace the default
  408. # string ": ".
  409. rm -f hook522
  410.  
  411. # "hook523" - If exists, printed when the assertion has no expression
  412. # to replace the default empty string "".
  413. rm -f hook523
  414.  
  415. # "hook524" - If exists, printed before the expression to replace the
  416. # default empty string "".
  417. rm -f hook524
  418.  
  419. # "hook525" - If exists, printed after the expresion (except for the
  420. # last assertion) to replace the default string ";".
  421. rm -f hook525
  422.  
  423. # "hook526" - If exists, printed when an assertion has no comment to
  424. # replace the default string "%N".
  425. rm -f hook526
  426.  
  427. # "hook527" - If exists, printed once before the assertion comment to
  428. # replace the default empty string "".
  429. echo $eopt '<em>'$eend > hook527
  430.  
  431. # "hook528" - If exists, printed before each line of the expression comment to replace the default string " -- ".
  432. rm -f hook528
  433.  
  434. # "hook529" - If exists, printed after each line of the expression
  435. # comment to replace the default string "%N".
  436. rm -f hook529
  437.  
  438. # "hook530" - If exists, printed once after the assertion's comment to
  439. # replace the default string "".
  440. echo $eopt '</em>'$eend > hook530
  441.  
  442. # "hook531" - If exists, printed after the assertion to replace the
  443. # default empty string "".
  444. rm -f hook531
  445.  
  446. # 2.7.3. For the last assertion in the ensure clause Same hook files
  447. # list as described in section 2.7.2 except "hook525" which becomes:
  448.  
  449. # "hook532" - If exists, printed after the last expresion to replace
  450. # the default empty string "".
  451. rm -f hook532
  452.  
  453. # ---------------------------------------------------------------------------
  454. # 2.8. Changing output after each feature
  455.  
  456. # "hook599" - If exists, printed after each feature to replace the
  457. # default empty string "".
  458. echo $eopt '
  459. '$eend > hook599
  460.  
  461. # ---------------------------------------------------------------------------
  462. # 2.9. Changing output of the class invariant
  463. # 2.9.1. For the header of the class invariant
  464.  
  465. # "hook800" - If this hook file exists, and when no class invariant
  466. # exists, the contents of this file is printed to replace the default
  467. # empty string "".
  468. rm -f hook800
  469.  
  470. # "hook811" - If this hook file exists, the contents of this file is
  471. # printed before the class invariant to replace the default string
  472. # "invariant%N".
  473. echo $eopt '<strong>invariant</strong>
  474. '$eend > hook811
  475.  
  476. # "hook812" - If exists, printed when class invariant has no heading
  477. # comment to replace default empty string "".
  478. rm -f hook812
  479.  
  480. # "hook813" - If exists, printed once before the invariant heading
  481. # comment to replace the default empty string "".
  482. echo $eopt '<em>'$eend > hook813
  483.  
  484. # "hook814" - If exists, printed before each line of the heading
  485. # comment to replace the default string " -- ".
  486. rm -f hook814
  487.  
  488. # "hook855" - If exists, printed after each line of the heading
  489. # comment to replace the default string "%N".
  490. rm -f hook855
  491.  
  492. # "hook816" - If exists, printed once after the invariant heading
  493. # comment.
  494. echo $eopt '</em>'$eend > hook816
  495.  
  496. # "hook817" - If exists, printed when class invariant has no assertion
  497. # to replace the default empty string "".
  498. rm -f hook817
  499.  
  500. # "hook818" - If exists, printed once before the first assertion of
  501. # the class invariant to replace the default empty string "".
  502. rm -f hook818
  503.  
  504. # "hook833" - If exists, printed once after the last assertion of the
  505. # class invariant to replace the default empty string "".
  506. rm -f hook833
  507.  
  508. # "hook834" - If exists, printed to finish the class invariant to
  509. # replace the default empty string "".
  510. rm -f hook834
  511.  
  512. # 2.9.2. For each assertion in the class invariant
  513.  
  514. # "hook819" - If exists, printed before each assertion of the class
  515. # invariant to replace the default string " ".
  516. rm -f hook819
  517.  
  518. # "hook820" - If exists, printed when an assertion has no tag to
  519. # replace the default empty string "".
  520. rm -f hook820
  521.  
  522. # "hook821" - If exists, printed before a tag to replace the default
  523. # empty string "".
  524. rm -f hook821
  525.  
  526. # "hook822" - If exists, printed after a tag to replace the default
  527. # string ": ".
  528. rm -f hook822
  529.  
  530. # "hook823" - If exists, printed when the assertion has no expression
  531. # to replace the default empty string "".
  532. rm -f hook823
  533.  
  534. # "hook824" - If exists, printed before the expression to replace the
  535. # default empty string "".
  536. rm -f hook824
  537.  
  538. # "hook825" - If exists, printed after the expresion (except for the
  539. # last assertion) to replace the default string ";".
  540. rm -f hook825
  541.  
  542. # "hook826" - If exists, printed when an assertion has no comment to
  543. # replace the default string "%N".
  544. rm -f hook826
  545.  
  546. # "hook827" - If exists, printed once before the assertion comment to
  547. # replace the default empty string "".
  548. echo $eopt '<em>'$eend > hook827
  549.  
  550. # "hook828" - If exists, printed before each line of the expression
  551. # comment to replace the default string " -- ".
  552. rm -f hook828
  553.  
  554. # "hook829" - If exists, printed after each line of the expression
  555. # comment to replace the default string "%N".
  556. rm -f hook829
  557.  
  558. # "hook830" - If exists, printed once after the assertion's comment to
  559. # replace the default string "".
  560. echo $eopt '</em>'$eend > hook830
  561.  
  562. # "hook831" - If exists, printed after the assertion to replace the
  563. # default empty string "".
  564. rm -f hook831
  565.  
  566. # 2.9.3. For the last assertion in the class invariant Same hook
  567. # files list as described in section 2.9.2 except "hook825" which
  568. # becomes :
  569.  
  570. # "hook832" - If exists, printed after the last expresion to replace
  571. # the default string ";".
  572. rm -f hook832
  573.  
  574. # ---------------------------------------------------------------------------
  575. # 2.10. Changing output of the class interface footer
  576.  
  577. # "hook900" - When exists, printed once before class footer to replace
  578. # the default empty string "".
  579. echo $eopt '
  580. <strong>'$eend > hook900
  581.  
  582. # "hook901" - When exists, printed once at the end of an expanded
  583. # class before the class name to replace the default "end of expanded".
  584. rm -f hook901
  585.  
  586. # "hook902" - When exists, printed once at the end of a deferred class
  587. # before the class name to replace the default "end of deferred ".
  588. rm -f hook902
  589.  
  590. # "hook903" - When exists, printed once at the end of an ordinary (not
  591. # expanded nor deferred) class, before the class name to replace the
  592. # default string "end of ".
  593. rm -f hook903
  594.  
  595. # "hook904" - When exist, printed just before the class name to
  596. # replace the default empty string "".
  597. rm -f hook904
  598.  
  599. # "hook905" - When exists, the contents of this file is printed after
  600. # the class name to replace the default string "%N".
  601. rm -f hook905
  602.  
  603. # "hook999" - If this hook file exists, the contents of this file is
  604. # printed once to finish the job.
  605. cat >hook999 <<END
  606. </pre>
  607. </body>
  608. </html>
  609. END
  610.  
  611. # ---------------------------------------------------------------------------
  612. # 2.11. Changing the output of class names
  613.  
  614. # "Bcn" - When exists, printed Before each class name.
  615. echo $eopt '<a href="CLASSREF">'$eend > Bcn
  616.  
  617. # "Acn" - When exists, printed After each class name.
  618. echo $eopt '</a>'$eend > Acn
  619.  
  620. # "Ucn" - To replace the Underscore character in a class name.
  621. rm -f Ucn
  622.  
  623. # ---------------------------------------------------------------------------
  624. # 2.12. Changing the output of a type mark
  625.  
  626. # "Btm" - When exists, printed Before each type mark.
  627. # echo $eopt '<em>'$eend > Btm
  628. rm -f Btm
  629.  
  630. # "Atm" - When exists, printed After each type mark.
  631. # echo $eopt '</em>'$eend > Atm
  632. rm -f Atm
  633.  
  634. # "open_sb" - To replace the opening square bracket (default "[").
  635. rm -f open_sb
  636.  
  637. # "close_sb" - To replace the closing square bracket (default "]").
  638. rm -f close_sb
  639.  
  640. # "fgl_sep" - To replace the default comma "," in a formal generic argument list.
  641. rm -f fgl_sep
  642.  
  643. # "tm_blank" - To replace a blank character in a type mark.
  644. rm -f tm_blank
  645.  
  646. # "tm_sep" - To replace default string "," as a separator in a generic list.
  647. rm -f tm_sep
  648.  
  649. # "like" - To replace the default string "like ".
  650. rm -f like
  651.  
  652. # "expanded" - To replace the default string "expanded ".
  653. rm -f expanded
  654.  
  655. # ---------------------------------------------------------------------------
  656. #  2.14. Changing the output of an argument name
  657.  
  658. # "Ban" - When exists, printed Before each argument name.
  659. # echo $eopt '<tt>'$eend > Ban
  660. rm -f Ban
  661.  
  662. # "Aan" - When exists, printed after each argument name.
  663. # echo $eopt '</tt>'$eend > Aan
  664. rm -f Aan
  665.  
  666. # "Uan" - To replace the Underscore character in an argument name.
  667. rm -f Uan
  668.  
  669. # ---------------------------------------------------------------------------
  670. # 2.15. Changing the output of tag name
  671.  
  672. # "Btag" - When exists, printed Before each tag name.
  673. rm -f Btag
  674.  
  675. # "Atag" - When exists, printed after each tag name.
  676. rm -f Atag
  677.  
  678. # "Utag" - To replace the Underscore character in a tag name.
  679. rm -f Utag
  680.  
  681. # ---------------------------------------------------------------------------
  682. # 2.19. Changing the output of comments line
  683.  
  684. # "BECL" - Before Each Comment Line. This hook is applied to all
  685. # comments whatever the kind of comment. If exists, printed before the
  686. # contents of each line of each comment (usually after the default
  687. # string "-- ").
  688. rm -f BECL
  689.  
  690. # "AECL" - After Each Comment Line. This hook is applied to all
  691. # comments whatever the kind of comment. If exits, printed after the
  692. # contents of each line of each comment (usually, printed before the
  693. # default "%N").
  694. rm -f AECL
  695.  
  696. # "Ucomment" - To replace the Underscore character in a comment.
  697. rm -f Ucomment
  698.  
  699. # "op_quote" - To replace the default opening quote mark "`".
  700. echo $eopt '</em>'$eend > op_quote
  701.  
  702. # "cl_quote" - To close an "op_quote" to replace the closing quote mark "'".
  703. echo $eopt '<em>'$eend > cl_quote
  704.